
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String basePath = "http://" + request.getLocalAddr() + ":"
			+ request.getLocalPort() + request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<title>${promptInfo.totalDescInfo}</title>
<head>
<script type="text/javascript">
//input验证
$(document).ready(function(){	
$.formValidator.initConfig({formid:"actionForm",onerror:function(){alert('校验没有通过，具体错误请看错误提示')},onsuccess:function(){}});//表单提交 
$("#roleName").formValidator({onshow:"请输入要修改的角色名称",onfocus:"请输入您的角色名称",oncorrect:"谢谢您的配合"}).inputValidator({min:1,onerror:"角色名称不能为空,请确认"});
$("#roleDesc").formValidator({onshow:"请输入要修改的角色说明",onfocus:"请输入您的角色说明",oncorrect:"谢谢您的配合"}).inputValidator({min:1,onerror:"角色说明不能为空,请确认"});
});
</script>
</head>
<body>
<form name="actionForm" method="post" action="operateAction.action" id="actionForm" onsubmit="return Validator.Validate(this,3);">
<input type="hidden" value="name" name="logColumn" /> 
<input type="hidden" value="true" name="islog" /> 
<input type="hidden" name="code" value="${code}"> 
<input type="hidden" name="paramMap.key" value="${paramMap.roleID}"> 
<input type="hidden" name="imitateStep" value="${pmsIndex.sys_role_mgr.imitationStep}"> 
<input name="paramMap.roleID" type="hidden" id="roleID" value="${initMap.roleInfo.roleID}"/>
<input type="hidden" id="select_default_text"   value="${initMap.roleInfo.roleName}">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableC">
	<tr>
		<td class="tableCleft">&nbsp;</td>
		<td class="tableCcenter">
		<table width="100%" border="0" cellpadding="0" cellspacing="1" class="SkyTDLine">
			<tr>
				<td class="SkyTDLine">
				<table class="SkyTDLine" cellSpacing="1" cellPadding="0" width="100%" border="0">
					<tr class="MeNewTDLine" align="center">
						<td align="left">
						<table class="Ntable" cellSpacing="1" cellPadding="0" width="100%" border="0">
							<tr class="MeNewTDLine">
								<td align="right" class="SkyTDLine" width="10%">角色名称：</td>
								<td class="SkyTDLine">&nbsp; <input name="paramMap.roleName" type="text" maxlength="20" id="roleName" value="${initMap.roleInfo.roleName}"/>&nbsp;<font color="red">*</font><span id="roleNameTip" style="width:250px"></span></td>
							</tr>
							<tr class="MeNewTDLine">
								<td align="right" class="SkyTDLine">角色说明：</td>
								<td class="SkyTDLine">&nbsp; <input name="paramMap.roleDesc" type="text" maxlength="200" id="roleDesc" value="${initMap.roleInfo.roleDesc}"/>&nbsp;<font color="red">*</font><span id="roleDescTip" style="width:250px"></span></td>
							</tr>
							<tr class="MeNewTDLine" align="center">
								<td colSpan="2" class="SkyTDLine"><input type="submit" name="BtnOk" value="修改" id="BtnOk" class="SkyButtonBlur" onMouseOut="this.className='SkyButtonBlur'" onMouseOver="this.className='SkyButtonFocus'" />&nbsp;&nbsp;<input type="button" name="BtnOk" value="返回" id="BtnOk" class="SkyButtonBlur" onMouseOut="this.className='SkyButtonBlur'" onMouseOver="this.className='SkyButtonFocus'" onclick="window.history.back();" /></td>
							</tr>
						</table>
						</td>
					</tr>
				</table>
				</td>
			</tr>
		</table>
		</td>
		<td class="tableCright">&nbsp;</td>
	</tr>
</table>
</form>
</body>
</HTML>
